﻿@model StevensReceipts.Web.Models.EditUerViewModel
@{
    ViewBag.Title = "EditUser";
}

<h2>Invite others to access your organisation</h2>

<div>Enter their details</div>

<table>
    <tr>
        <td>First Name</td>
        <td>Last Name</td>
        <td>Email</td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(model=>model.FirstName)</td>
        <td>@Html.TextBoxFor(model=>model.LastName)</td>
        <td>@Html.TextBoxFor(model=>model.Email)</td>
    </tr>
</table>

<div>Access to the accounts</div>

<table>
    <tr>
        <td></td>
        <td>Edit settings</td>
        <td>View reports</td>
        <td>Publish reports</td>
        <td>Lock dates</td>
    </tr>
    <tr>
        <td>@Html.RadioButtonFor(model=>model.PermissionGroup,"readonly")</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
    </tr>
    <tr>
        <td>@Html.RadioButtonFor(model=>model.PermissionGroup,"invoiceonly")</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
    </tr>
    <tr>
        <td>@Html.RadioButtonFor(model=>model.PermissionGroup,"standard")</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
        <td>x</td>
    </tr>
</table>


<div id="manageUser">
    <span>@Html.CheckBoxFor(model=>model.ManageUser)</span> Allow this user to add and remove users and change permissions
</div>
